page.jsx 606 B

12345678910111213141516171819202122
  1. import PlaceholderPage from "@/components/placeholders/PlaceholderPage";
  2. /**
  3. * /:branch/search
  4. *
  5. * Important:
  6. * - This is a static segment under [branch].
  7. * - It must exist explicitly, so "search" is not interpreted as [year].
  8. *
  9. * Next.js 15+ treats `params` as an async value (Promise) for dynamic routes.
  10. */
  11. export default async function BranchSearchPage({ params }) {
  12. const resolvedParams = await params;
  13. return (
  14. <PlaceholderPage
  15. title="Suche"
  16. description="Platzhalter für die Suche. Die echte Suche wird in einem späteren Ticket umgesetzt."
  17. params={resolvedParams}
  18. />
  19. );
  20. }